package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName("topic_info")
@ApiModel(value = "TopicInfo对象", description = "专题信息")
public class TopicInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("专题名称")
    private String name;

    @ApiModelProperty("描述")
    private String tips;

    @ApiModelProperty("展示图片(头图)")
    private String pic;

    @ApiModelProperty("详情(文字描述, 富文本)")
    private String details;

    @ApiModelProperty("发布时间")
    private Long releaseTime;

    @ApiModelProperty("专题状态 1启用 0禁用")
    private Integer status;
}
